Interface FileSystem

All Superinterfaces:
Directory, IPCObject, SimFile
All Known Implementing Classes:
FileSystemImpl

public interface FileSystem extends Directory
Information provided by the PKI file:

    \class FileSystem
    
    \brief FileSystem holds and manipulates the file system on routers and switches.
    
    \example network().getDevice("Router0").getProcess("FileManager").getFileSystem("flash:")
    
Author:
Auto-generated
  • Method Details

    • getSize

      int getSize()
      Information provided by the PKI file:
      
          \brief Returns the size of the file system.
          
          \return int, the size of the file system.
          
              
      Specified by:
      getSize in interface SimFile
      Returns:
      int Returns a int
    • getCapacity

      int getCapacity()
      Information provided by the PKI file:
      
          \brief Returns the capacity of the file system.
          
          \return int, the capacity of the file system.
          
              
      Returns:
      int Returns a int
    • getSpaceFree

      int getSpaceFree()
      Information provided by the PKI file:
      
          \brief Returns the amount of free space on the file system.
          
          \return int, the amount of free space on the file system.
          
              
      Returns:
      int Returns a int